package com.cjj.common.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author baozhuangyu
 * @date 2021/4/28  13:49
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class IdRequest {
    @ApiModelProperty(value = "id", example = "1")
    @NotNull(message = "id不能为null")
    private Integer id;
}